package com.zhang.communication.service;

import com.zhang.communication.entity.ChatMessage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户消息表 服务类
 * </p>
 *
 * @author 创世神
 * @since 2024-06-07
 */
public interface IChatMessageService extends IService<ChatMessage> {

    void sendMessage(ChatMessage message);

    List<ChatMessage> getChatWithAnotherMessages(String anotherId);
}
